<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ include file="checkLogin.inc.jsp" %>

<%@ page import="java.util.List" %>
<%@ page import="kulstats.*" %>

<%

// check whether user is logged in


%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html> 
<head> 
	<title>Settings - StAPP</title> 
	
	<%@ include file="mobileResources.inc.jsp" %>
	
</head>

<body>

<div data-role="page" id="settingsPage">
	<div data-role="header">
		<% WebCache.headerElement = "settings"; %>
		<%@ include file="mobileHeader.inc.jsp" %>
	</div><!-- /header -->
	
	<div data-role="content" id="content_settings">
		<p>In this settings page you can adjust your personal preferences.</p>
		<form action="DoSettings" method="post" id="settingsForm">
<%
//getting user information:

%>
			<div data-role="fieldcontain">
				<label for="settings_name">Your name:</label>
				<input type="text" maxlength="40" name="settings_name" id="settings_name" value="<%=currentUser.getName() %>" />
			</div>
			<div data-role="fieldcontain">
				<label for="settings_name">Your e-mail address:</label>
				<span><%=currentUser.getMail() %> (cannot be changed)</span>
			</div>
		</form>
	</div><!-- /content -->
	
	
	<div data-role="footer">
		<h4>&copy; 2011 - StAPP</h4>
	</div><!-- /footer -->
</div><!-- /page -->


</body>
</html>